package cloud.estate.house.service;

import cloud.estate.commons.bean.House;
import cloud.estate.commons.util.JsonResult;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;

@Service
public interface houseService extends IService<House> {
    JsonResult addOneHouse(House house);

    JsonResult deleteOneHouse(String id);

    JsonResult updateOneHouse(House house);

    JsonResult getOneHouse(String id);

    JsonResult listAllHouse();
}
